<!--
 * @Date: 2022-02-13 14:09:26
 * @LastEditors: xiaole
 * @LastEditTime: 2022-02-13 19:25:23
-->
<template>
  <Editor v-model="state" />
</template>

<script>
import { defineComponent, ref } from "vue";
import Editor from './views/editor.jsx'
import data from './data.json'
export default {
  components: {
    Editor
  },
  setup() {

    const state = ref(data)
    return {
      state
    }
  }
}
</script>
